//
//  NYSearchView.m
//  NiuWaJiaoYu
//
//  Created by MinLison on 2018/1/7.
//  Copyright © 2018年 niuwaketang. All rights reserved.
//

#import "NYSearchView.h"
//#import "NYSearchTableHeadView.h"

@interface NYSearchView () //<NYSearchTableHeadViewDelegate>

@end

@implementation NYSearchView
- (void)setupTableView {
    
    [super setupTableView];
    self.tableView.backgroundColor = UIColorMakeWithHex(@"#F3F4F5");

    [self setTableHeaderAction];
}

- (void)setTableHeaderAction {
    
//    @weakify(self);
//    NYSearchTableHeadView *headView = [[NYSearchTableHeadView alloc] initWithDelegate:self requestSuccess:^{
//
//        @strongify(self);
//        [self.tableView beginUpdates];
//        [self.tableView reloadData];
//        [self.tableView endUpdates];
//    }];
//    self.tableView.tableHeaderView = headView;
}

//MARK: NYSearchTableHeadViewDelegate
- (void)clickOnTheHotButton:(NSString *)hotString {
    
}
@end
